package com.dek.ssm.ch11.multi;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

import com.dek.ssm.ch11.multi.aspects.Aspect1;
import com.dek.ssm.ch11.multi.aspects.Aspect2;
import com.dek.ssm.ch11.multi.aspects.Aspect3;


@Configuration
@EnableAspectJAutoProxy
@ComponentScan("com.dek.ssm.ch11.multi")
public class AopConfig {
	
	@Bean
	public Aspect1 getAspect1() {
		return new Aspect1();
	}
	
	@Bean
	public Aspect2 getAspect2() {
		return new Aspect2();
	}
	
	@Bean
	public Aspect3 getAspect3() {
		return new Aspect3();
	}
	
}
